
// eslint-disable-next-line no-unused-vars
import React, { useState } from 'react'
import styles from './index.less'

function index() {
  let [count, setCount] = useState(0);
  return (
    <div className={styles.helloContainer}>
      <p styleName="title1">使用 styleName 命名：className{ count }</p>
      <p className={styles.title}>hello 组件 { count }</p>
      <button onClick={ () => setCount(count++)}>add</button>
    </div>
  )
}

export default index
